<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/5/3
  Time: 17:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<link href="<c:url value='/resource/danger/css/yulan.css'/>" rel="stylesheet" type="text/css" media="screen"/>
<script src="<c:url value='/resource/danger/js/yulan.js'/>" type="text/javascript"></script>
<style type="text/css">
    .table2 { width: 100%;border:0px solid #d0d0d0;
        border-collapse: collapse;
        table-layout: fixed;    padding: 0;
        margin: 0;
        font-size: 12px;
        line-height: 100%;
        font-family: Arial, sans-serif;
        height:300px;
        background-color: white;
    }
    tr{height:21px;line-height: 21px;text-align: left;}
    td{border:0px solid #d0d0d0;}
    input{width:120px;border:0px;}
</style>
<div class="pageContent" style="padding-top: 1px;overflow: auto">
        <div class="pageFormContent" layoutH="56">
            <table class="table2" style="width: 100%;">
                <tr>
                    <td width="35%" style="font-weight: bold">配套措施信息</td>
                    <td width="65%"></td>
                </tr>
                <tr style="height: 8px;">
                    <td colspan="2"></td>
                </tr>

                <tr>
                    <td>上报时间：</td>
                    <td><fmt:formatDate value="${data.createtime}" pattern="yyyy-MM-dd"/></td>
                </tr>
                <tr style="height: 8px;">
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td>上报人：</td>
                    <td>${data.userid}</td>
                </tr>
                <tr>
                    <td>配套区域：</td>
                    <td>${data.fjid}-${data.pcsid}-${data.sqid}</td>
                </tr>
                <tr style="height: 8px;">
                    <td colspan="2"></td>
                </tr>
                <tr>
                    <td>新增灭火器（具）：</td>
                    <td>
                        ${data.mhq}(个)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                    <c:forEach var="attach" items="${attach}">
                        <c:if test="${attach.type=='19'}">
                            <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                 onclick="getBig('${pic.fastUrl}');">
                        </c:if>
                    </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增应急照明灯（具）：</td>
                    <td>
                        ${data.yjzmd}(具)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='20'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增简易喷淋（套）：</td>
                    <td>
                        ${data.jypl}(套)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='21'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增独立式烟感报警器（只）：</td>
                    <td>
                        ${data.dlygbjq}(只)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='13'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增电器火灾监控系统（套）：</td>
                    <td>
                        ${data.dqhzjkxt}(套)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='14'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增可燃气体紧急切断装置（套）：</td>
                    <td>
                        ${data.krqtjjqdzz}(套)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='15'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增电动车停放点建成数量（个）：</td>
                    <td>
                        ${data.ddctfl}(个)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='16'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增电动车停放点面积（M²）：</td>
                    <td>
                        ${data.ddcmj}(㎡)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='17'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>

                <tr>
                    <td>新增可停放电动车（辆）：</td>
                    <td>
                        ${data.ddcgs}(辆)
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">
                        <c:forEach var="attach" items="${attach}">
                            <c:if test="${attach.type=='18'}">
                                <img src="${attach.fastUrl}" style="width:60px;height: 60px;"
                                     onclick="getBig('${pic.fastUrl}');">
                            </c:if>
                        </c:forEach>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span style="font-weight: bold">处理流程：</span>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                </tr>
                <c:forEach var="flow" items="${flows}">
                    <tr>
                        <td>处理人：</td>
                        <td>${flow.userid}</td>
                    </tr>
                    <tr>
                        <td>处理时间：</td>
                        <td><fmt:formatDate value="${flow.createtime}"
                                            pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    </tr>
                    <tr>
                        <td>处理结果：</td>
                        <td>
                            <c:choose>
                                <c:when test="${flow.spjg=='1'}">确认</c:when>
                                <c:otherwise>退回</c:otherwise>
                            </c:choose>
                       </td>
                    </tr>
                    <tr>
                        <td>处理意见：</td>
                        <td>${flow.spyj}</td>
                    </tr>
                </c:forEach>
            </table>
        </div>

</div>
<%--<script type="text/javascript">--%>
<%--function getBig(url){--%>
    <%--$.showPic(url);--%>
<%--}--%>
<%--</script>--%>
<script src="<c:url value="/resource/dist/zoomify.min.js"/> "></script>
<script type="text/javascript">
    $('img').zoomify();
</script>